package com.diyizu.youdianda.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.diyizu.youdianda.entity.SysRole;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class SysRolePageDto {

    //计数
    private Integer count;

    //总页数
    private Integer totalPages;

    //每页几条
    private Integer pageSize;

    //当前页
    private Integer currentPage;

    //带有menusId的角色列表
    private List<SysRolePageDto> data;

    /*以下字段与浏览器接收的字段匹配*/
    private String id;
    private String name;
    private String description;
    private LocalDateTime create_date;
    private LocalDateTime update_date;
    private String remarks;
    private String del_flag;
    private Integer superadmin;
    private String default_data;
    private String role_id;
    private List<String> role_menus;
}
